<!-- Begin hrmd/qual_user.tpl -->
<form method="post" action="?module=hrmd&action=qual_user&submit=true">
{opentable}
	{titlebar colspan=2 title=$lg->qual_user}
<tr>{$perio}</tr>
<tr>{$team}</tr>
{closetable}
<input type="submit" name="submit" class="button" align="left" value={$lg->OK} />
</form>

<br><br>
{opentable}
{titlebar colspan=2 title=$lg->qual}
	<tr class="sectiontableheader" align="center">
		<td width = "10%">{$lg->idqua}</td>
		<td width = "10%">{$lg->cdate}</td>
		<td width = "40%">{$lg->ltext}</td>
		<td width = "15%">{$lg->score}</td>
		<td width = "5%">{$lg->view}</td>
		{if permission_check("Hrmd-Qual-Sheet-Create") }
		<td width = "5%">{$lg->edit}</td>		
		{/if}		
	</tr>
	{if is_array($t_edit)}
	{foreach from=$t_edit key=key item=s_edit}
		<tr class="{rowcolor}" align="center" >
			<td>{$s_edit.idqua}</td>
			<td>{$s_edit.cdate|userdate}</td>
			<td>{$s_edit.ctext}</td>
			<td>{$s_edit.score}</td>
			<td><a href="?module=hrmd&action=qual_create&sub=view&idqua={$s_edit.idqua}"><img src="{$smarty.env.imgs.view}" border="0" alt="View" ></a></td>
			{if permission_check("Hrmd-Qual-Sheet-Create") }
			<td><a href="?module=hrmd&action=qual_create&sub=edit&idqua={$s_edit.idqua}"><img src="{$smarty.env.imgs.edit}" border="0" alt="Edit" ></a></td>			
			{/if}
		</tr>
	{/foreach}
	{else}
		<tr class="data"><td colspan="6">{$lg->no_data}</td></tr>	
	{/if}
{closetable}
<!-- End hrmd/qual_user.tpl -->